package com.framework.common.auto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

@Data
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
public class TokenUserInfo implements Serializable {
    //票据主题 admin-app portal-app
    private String subject;
    //token
    private String token;
    //用户信息
    private UserInfo userInfo;
    //权限
    private List<String> permissionList;
    //角色
    private List<String> roleList;
    //管理部门id
    private List<String> deptList;
}
